import Vue from "vue";
import App from "./App.vue";
import Axios from "axios";
import router from "./router"; //router
import store from "./store";
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
import Vant from "vant";
import "vant/lib/index.css";
import qs from "qs";
import Vuex from "vuex";

Vue.use(Vuex);
Vue.prototype.$qs = qs; //数据转换
Vue.use(Vant);
Vue.use(ElementUI);
Vue.prototype.$axios = Axios; //原型上添加$axios属性
Vue.config.productionTip = false;

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
